package com.disruptor.base;

import com.lmax.disruptor.EventFactory;

//event工厂类,需要继承一个disruptor框架的EventFactory接口,用来实例化event对象
public class LongEventFactory implements EventFactory<LongEvent> {

    @Override
    public LongEvent newInstance() {
        return new LongEvent();
    }

}
